<template>
    <div class="checkbox">
        <el-form :inline="true" class="demo-form-inline">
            <el-form-item>
                <el-select v-model="value" placeholder="请选择">
                    <el-option
                            v-for="item in options"
                            :key="item.value"
                            :label="item.label"
                            :value="item.value">
                    </el-option>
                </el-select>
            </el-form-item>

            <el-form-item>
                <el-input
                        placeholder="请输入内容"
                        v-model="input"
                        clearable>
                </el-input>
            </el-form-item>
            <el-form-item>
                <el-button type="primary" icon="el-icon-search">搜索</el-button>
            </el-form-item>
        </el-form>
    </div>
</template>

<script>
    export default {
        name: 'checkbox',
        data() {
            return {
                input: '',
                options: [{
                    value: 'option1',
                    label: '职位'
                }, {
                    value: 'option2',
                    label: '公司'
                }
                ],
                value: '',
            }
        },
    }
</script>

